"""
@author:menglei
@desc:查询CPA数据
"""
from pdd.api.base import RestApi


class PddDdkFinanceCpaQueryRequest(RestApi):
    """
    @:param: date_query:STRING:查询日期，格式：yyyy-MM-dd
    @:param: pid:STRING:推广位id
    """
    def __init__(self,domain='https://gw-api.pinduoduo.com'):
        RestApi.__init__(self, domain)
        self.date_query = None
        self.pid = None

    def getapiname(self):
        return 'pdd.ddk.finance.cpa.query'